﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ScannerClasses;

namespace ParserClasses.Classes
{
    public class Expression
    {
        private List<Primary> _expressionPrimaryList;
        private List<IToken> _expressionOperatorsToken;
        
        public Expression()
        {
            _expressionPrimaryList = new List<Primary>();
            _expressionOperatorsToken = new List<IToken>();
        }

        public void addToExpressionPrimaryList(Primary primary)
        {
            _expressionPrimaryList.Add(primary);
        }

        public void addToExpressionOperatorsToken(IToken token)
        {
            _expressionOperatorsToken.Add(token);
        }

    }
}
